<?php
/**
 * User: krasen
 * Date: 2015/9/6 21:51
 */
namespace AppBundle\Listener;

use AppBundle\Event\UserEvent;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Validator\Constraints\Ip;

class UserListener
{
    public function onTestEvent(UserEvent $event)
    {
        $user = $event->getUser();
    }
}

